home *** CD-ROM | disk | FTP | other *** search
/ Shareware Grab Bag / Shareware Grab Bag.iso / 007 / cquirk.arc / CQUIRK2.DOC < prev   
Text File  |  1985-09-26  |  640b  |  12 lines

  1. MS-C compiler note 2
  2. 9/24/85 by Tom Thompson
  3.  
  4. If you want to use the C runtime (SLIBC.LIB), but do not want to use the
  5. normal runtime startup routine, then define the public number "_acrtused"
  6. somewhere.  Remember to prefix an extra underscore if done in ASM language.
  7. Give the constant the value 1.  All C obj modules have this as an extern
  8. to force loading CRT0.OBJ from the library.  Of course, this means don't
  9. use most "higher level" library functions, especially memory allocate.
  10. The ones you invariably need to use are shift subroutines, etc, that the
  11. compiler generates calls to on primitive C operations.